﻿@using WaterRevenueMS.WebUI.Extension.MvcHelper
@using WaterRevenueMS.Domain.ViewModels.BasicSet.HandSetType
@model HandSetTypeModel

@using (Html.BeginForm("Edit", "HandSetType", FormMethod.Post, new { @class = "form-horizontal", @id = "modal-content" }))
{      
@Html.HiddenFor(t => t.Id)

<div class="control-group">
    <label class="control-label-form">
        <label class="red">*</label>手抄器类型 :
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Shou_CQLX, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Shou_CQLX)
    </div>
</div>


<div class="control-group">
    <label class="control-label-form">
       手抄器型号 :
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Shou_CQXH, Model.HandSetItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Shou_CQXH)
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
      通讯端口 :
    </label>
    <div class="controls">
         @Html.DropDownListFor(t => t.Tong_XDK, Model.Tong_XDKItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Tong_XDK)
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
       波特率 :
    </label>
    <div class="controls">
         @Html.DropDownListFor(t => t.Bo_TL, Model.BoTLItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Bo_TL)
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
      校验方式 :
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Jiao_YFS, Model.Jiao_YFSItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Jiao_YFS)
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
       数据位 :
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Shu_JW, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Shu_JW)
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
       停止位 :
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Ting_ZW, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Ting_ZW)
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
      握手协议 :
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Wo_SXY, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Wo_SXY)
    </div>
</div>

}